import { get, post } from './http'
// 获取设备列表信息
export const listdevice = (p) => get('/socketserver/listdevice', p)
// 重启设备
export const reboot = (p) => post('/socketserver/reboot', p)
// 设置音量
export const setvolumn = (p) => post('/socketserver/setvolumn', p)
// 推送书籍数据
export const pushdata = (p)=> post('/socketserver/pushdata', p)